package com.zn.opit.miniodemo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 主启动
 */
@MapperScan("com.zn.opit.miniodemo.mapper")
@SpringBootApplication(scanBasePackages = "com.zn.opit.miniodemo")
public class AppMain {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(AppMain.class);
        app.setBannerMode(Banner.Mode.OFF);
        app.run(args);
    }
}
